<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>FGSL: api/sort.finc File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">FGSL
   </div>
   <div id="projectbrief">Fortran interface for the GNU scientific library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Types&#160;List</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0188a3e6da905bc60aceb35bf790b8c9.html">api</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions/Subroutines</a>  </div>
  <div class="headertitle">
<div class="title">sort.finc File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="sort_8finc__dep__incl.png" border="0" usemap="#api_2sort_8fincdep" alt=""/></div>
<map name="api_2sort_8fincdep" id="api_2sort_8fincdep">
<area shape="rect" href="fgsl_8F90.html" title="fgsl.F90" alt="" coords="16,80,83,107"/></map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions/Subroutines</h2></td></tr>
<tr class="memitem:a29c0ed778f056399d921407b94883bb0"><td class="memItemLeft" align="right" valign="top">subroutine&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#a29c0ed778f056399d921407b94883bb0">fgsl_heapsort</a> (array, count, size, compare)</td></tr>
<tr class="separator:a29c0ed778f056399d921407b94883bb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f576ca19a0cc0b7cc24ccd80ac5d7d2"><td class="memItemLeft" align="right" valign="top">integer(fgsl_int) function&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#a3f576ca19a0cc0b7cc24ccd80ac5d7d2">fgsl_heapsort_index</a> (p, array, count, size, compare)</td></tr>
<tr class="separator:a3f576ca19a0cc0b7cc24ccd80ac5d7d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dec49e9c2067642bb4a24ccd7939fe4"><td class="memItemLeft" align="right" valign="top">subroutine&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#a1dec49e9c2067642bb4a24ccd7939fe4">fgsl_sort_double</a> (data, stride, n)</td></tr>
<tr class="separator:a1dec49e9c2067642bb4a24ccd7939fe4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf92649e442927793bb64d8e6c627b64"><td class="memItemLeft" align="right" valign="top">subroutine&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#adf92649e442927793bb64d8e6c627b64">fgsl_sort_double_index</a> (p, data, stride, n)</td></tr>
<tr class="separator:adf92649e442927793bb64d8e6c627b64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7737cd05792ca6276f0f0abf3ec7e35e"><td class="memItemLeft" align="right" valign="top">integer(fgsl_int) function&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#a7737cd05792ca6276f0f0abf3ec7e35e">fgsl_sort_double_smallest</a> (dest, k, src, stride, n)</td></tr>
<tr class="separator:a7737cd05792ca6276f0f0abf3ec7e35e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc3f234c4b7c8fcdb2e5a6ee28c96a84"><td class="memItemLeft" align="right" valign="top">integer(fgsl_int) function&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#abc3f234c4b7c8fcdb2e5a6ee28c96a84">fgsl_sort_double_smallest_index</a> (p, k, src, stride, n)</td></tr>
<tr class="separator:abc3f234c4b7c8fcdb2e5a6ee28c96a84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbfdbcc768b9fc574bca1aabd5c4ea6f"><td class="memItemLeft" align="right" valign="top">integer(fgsl_int) function&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#abbfdbcc768b9fc574bca1aabd5c4ea6f">fgsl_sort_double_largest</a> (dest, k, src, stride, n)</td></tr>
<tr class="separator:abbfdbcc768b9fc574bca1aabd5c4ea6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af27bfe3694fe4135ad32cc5d042430da"><td class="memItemLeft" align="right" valign="top">integer(fgsl_int) function&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#af27bfe3694fe4135ad32cc5d042430da">fgsl_sort_double_largest_index</a> (p, k, src, stride, n)</td></tr>
<tr class="separator:af27bfe3694fe4135ad32cc5d042430da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a964150c5e4c1e9126d3e5c133d4cf874"><td class="memItemLeft" align="right" valign="top">subroutine&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#a964150c5e4c1e9126d3e5c133d4cf874">fgsl_sort_long</a> (data, stride, n)</td></tr>
<tr class="separator:a964150c5e4c1e9126d3e5c133d4cf874"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6deeedcc9a03ca18bc0fbaddfc4c57bb"><td class="memItemLeft" align="right" valign="top">subroutine&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#a6deeedcc9a03ca18bc0fbaddfc4c57bb">fgsl_sort_long_index</a> (p, data, stride, n)</td></tr>
<tr class="separator:a6deeedcc9a03ca18bc0fbaddfc4c57bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab63afc3e56f9ed94c784637dc54be97b"><td class="memItemLeft" align="right" valign="top">integer(fgsl_int) function&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#ab63afc3e56f9ed94c784637dc54be97b">fgsl_sort_long_smallest</a> (dest, k, src, stride, n)</td></tr>
<tr class="separator:ab63afc3e56f9ed94c784637dc54be97b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad008a109280ac9782800fdb013a41ce9"><td class="memItemLeft" align="right" valign="top">integer(fgsl_int) function&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#ad008a109280ac9782800fdb013a41ce9">fgsl_sort_long_smallest_index</a> (p, k, src, stride, n)</td></tr>
<tr class="separator:ad008a109280ac9782800fdb013a41ce9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a732fd6a26c63eb3ed81178d8dc4dd128"><td class="memItemLeft" align="right" valign="top">integer(fgsl_int) function&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#a732fd6a26c63eb3ed81178d8dc4dd128">fgsl_sort_long_largest</a> (dest, k, src, stride, n)</td></tr>
<tr class="separator:a732fd6a26c63eb3ed81178d8dc4dd128"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49b77db1a738b1500cf01500e77a63cc"><td class="memItemLeft" align="right" valign="top">integer(fgsl_int) function&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#a49b77db1a738b1500cf01500e77a63cc">fgsl_sort_long_largest_index</a> (p, k, src, stride, n)</td></tr>
<tr class="separator:a49b77db1a738b1500cf01500e77a63cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae260f94887ee5bdfdb33bbe94eb83143"><td class="memItemLeft" align="right" valign="top">subroutine&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#ae260f94887ee5bdfdb33bbe94eb83143">fgsl_sort_vector</a> (v)</td></tr>
<tr class="separator:ae260f94887ee5bdfdb33bbe94eb83143"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf339d54c8b44755134ee15293303f09"><td class="memItemLeft" align="right" valign="top">subroutine&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#aaf339d54c8b44755134ee15293303f09">fgsl_sort_vector2</a> (v1, v2)</td></tr>
<tr class="separator:aaf339d54c8b44755134ee15293303f09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a818d4e659a7756cbf3d20d33ae53b418"><td class="memItemLeft" align="right" valign="top">subroutine&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#a818d4e659a7756cbf3d20d33ae53b418">fgsl_sort_vector_index</a> (p, v)</td></tr>
<tr class="separator:a818d4e659a7756cbf3d20d33ae53b418"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e00f85dfc87a4eefab581ca773362d1"><td class="memItemLeft" align="right" valign="top">integer(fgsl_int) function&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#a0e00f85dfc87a4eefab581ca773362d1">fgsl_sort_vector_smallest</a> (dest, k, v)</td></tr>
<tr class="separator:a0e00f85dfc87a4eefab581ca773362d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0555f574fa147cddc39c7a027c5d9ae"><td class="memItemLeft" align="right" valign="top">integer(fgsl_int) function&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#ac0555f574fa147cddc39c7a027c5d9ae">fgsl_sort_vector_largest</a> (dest, k, v)</td></tr>
<tr class="separator:ac0555f574fa147cddc39c7a027c5d9ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac094e38c25cd8d2532ce3729a564a199"><td class="memItemLeft" align="right" valign="top">integer(fgsl_int) function&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#ac094e38c25cd8d2532ce3729a564a199">fgsl_sort_vector_smallest_index</a> (p, k, v)</td></tr>
<tr class="separator:ac094e38c25cd8d2532ce3729a564a199"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b6b9851e59760427ededc824ea5866d"><td class="memItemLeft" align="right" valign="top">integer(fgsl_int) function&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sort_8finc.html#a5b6b9851e59760427ededc824ea5866d">fgsl_sort_vector_largest_index</a> (p, k, v)</td></tr>
<tr class="separator:a5b6b9851e59760427ededc824ea5866d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function/Subroutine Documentation</h2>
<a class="anchor" id="a29c0ed778f056399d921407b94883bb0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">subroutine fgsl_heapsort </td>
          <td>(</td>
          <td class="paramtype">type(c_ptr)&#160;</td>
          <td class="paramname"><em>array</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>compare</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a3f576ca19a0cc0b7cc24ccd80ac5d7d2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">integer(fgsl_int) function fgsl_heapsort_index </td>
          <td>(</td>
          <td class="paramtype">integer(fgsl_size_t), dimension(count), intent(out), target&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">type(c_ptr)&#160;</td>
          <td class="paramname"><em>array</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>compare</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a1dec49e9c2067642bb4a24ccd7939fe4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">subroutine fgsl_sort_double </td>
          <td>(</td>
          <td class="paramtype">real(fgsl_double), dimension(:), intent(inout), target&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>stride</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="adf92649e442927793bb64d8e6c627b64"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">subroutine fgsl_sort_double_index </td>
          <td>(</td>
          <td class="paramtype">integer(fgsl_size_t), dimension(:), intent(out), target&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real(fgsl_double), dimension(:), intent(in), target&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>stride</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="abbfdbcc768b9fc574bca1aabd5c4ea6f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">integer(fgsl_int) function fgsl_sort_double_largest </td>
          <td>(</td>
          <td class="paramtype">real(fgsl_double), dimension(k), intent(out), target&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real(fgsl_double), dimension(:), intent(in), target&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>stride</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="af27bfe3694fe4135ad32cc5d042430da"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">integer(fgsl_int) function fgsl_sort_double_largest_index </td>
          <td>(</td>
          <td class="paramtype">integer(fgsl_size_t), dimension(k), intent(out), target&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real(fgsl_double), dimension(:), intent(in), target&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>stride</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a7737cd05792ca6276f0f0abf3ec7e35e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">integer(fgsl_int) function fgsl_sort_double_smallest </td>
          <td>(</td>
          <td class="paramtype">real(fgsl_double), dimension(k), intent(out), target&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real(fgsl_double), dimension(:), intent(in), target&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>stride</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="abc3f234c4b7c8fcdb2e5a6ee28c96a84"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">integer(fgsl_int) function fgsl_sort_double_smallest_index </td>
          <td>(</td>
          <td class="paramtype">integer(fgsl_size_t), dimension(k), intent(out), target&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">real(fgsl_double), dimension(:), intent(in), target&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>stride</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a964150c5e4c1e9126d3e5c133d4cf874"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">subroutine fgsl_sort_long </td>
          <td>(</td>
          <td class="paramtype">integer(fgsl_long), dimension(:), intent(inout), target&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>stride</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a6deeedcc9a03ca18bc0fbaddfc4c57bb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">subroutine fgsl_sort_long_index </td>
          <td>(</td>
          <td class="paramtype">integer(fgsl_size_t), dimension(:), intent(out), target&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_long), dimension(:), intent(in), target&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>stride</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a732fd6a26c63eb3ed81178d8dc4dd128"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">integer(fgsl_int) function fgsl_sort_long_largest </td>
          <td>(</td>
          <td class="paramtype">integer(fgsl_long), dimension(k), intent(out), target&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_long), dimension(:), intent(in), target&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>stride</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a49b77db1a738b1500cf01500e77a63cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">integer(fgsl_int) function fgsl_sort_long_largest_index </td>
          <td>(</td>
          <td class="paramtype">integer(fgsl_size_t), dimension(k), intent(out), target&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_long), dimension(:), intent(in), target&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>stride</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ab63afc3e56f9ed94c784637dc54be97b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">integer(fgsl_int) function fgsl_sort_long_smallest </td>
          <td>(</td>
          <td class="paramtype">integer(fgsl_long), dimension(k), intent(out), target&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_long), dimension(:), intent(in), target&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>stride</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ad008a109280ac9782800fdb013a41ce9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">integer(fgsl_int) function fgsl_sort_long_smallest_index </td>
          <td>(</td>
          <td class="paramtype">integer(fgsl_size_t), dimension(k), intent(out), target&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_long), dimension(:), intent(in), target&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>stride</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ae260f94887ee5bdfdb33bbe94eb83143"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">subroutine fgsl_sort_vector </td>
          <td>(</td>
          <td class="paramtype">type(fgsl_vector), intent(inout)&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aaf339d54c8b44755134ee15293303f09"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">subroutine fgsl_sort_vector2 </td>
          <td>(</td>
          <td class="paramtype">type(fgsl_vector), intent(inout)&#160;</td>
          <td class="paramname"><em>v1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">type(fgsl_vector), intent(inout)&#160;</td>
          <td class="paramname"><em>v2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a818d4e659a7756cbf3d20d33ae53b418"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">subroutine fgsl_sort_vector_index </td>
          <td>(</td>
          <td class="paramtype">type(fgsl_permutation), intent(inout)&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">type(fgsl_vector), intent(in)&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ac0555f574fa147cddc39c7a027c5d9ae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">integer(fgsl_int) function fgsl_sort_vector_largest </td>
          <td>(</td>
          <td class="paramtype">real(fgsl_double), dimension(k), intent(out)&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">type(fgsl_vector), intent(inout)&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a5b6b9851e59760427ededc824ea5866d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">integer(fgsl_int) function fgsl_sort_vector_largest_index </td>
          <td>(</td>
          <td class="paramtype">integer(fgsl_size_t), dimension(k), intent(out)&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">type(fgsl_vector), intent(inout)&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a0e00f85dfc87a4eefab581ca773362d1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">integer(fgsl_int) function fgsl_sort_vector_smallest </td>
          <td>(</td>
          <td class="paramtype">real(fgsl_double), dimension(k), intent(out)&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">type(fgsl_vector), intent(inout)&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ac094e38c25cd8d2532ce3729a564a199"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">integer(fgsl_int) function fgsl_sort_vector_smallest_index </td>
          <td>(</td>
          <td class="paramtype">integer(fgsl_size_t), dimension(k), intent(out)&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">integer(fgsl_size_t), intent(in)&#160;</td>
          <td class="paramname"><em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">type(fgsl_vector), intent(inout)&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Feb 20 2016 17:54:40 for FGSL by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
